﻿using com.guojin.core.io.message;
using com.guojin.core.io;
using System;

namespace com.guojin.mj.net.message.login
{
    public class JoinAllianceRet : Message
    {
        public static int TYPE = 7;
        public static int ID = 108;
        public int reault;//0代表成功    1代表联盟人满了  2联盟不存在,
        //3代表已经提交的申请正在审核中，4 代表申请加入的联盟达到上限
        public void decode(Input _in)
        {
            reault = _in.readInt();
        }
        public void encode(Output _out)
        {

        }
        public int getMessageId()
        {
            return ID;
        }

        public int getMessageType()
        {
            return TYPE;
        }

        public string toString()
        {
            return "reault" + reault;
        }
    }
}